<template>
    <fieldset>
        <legend>详情页</legend>
        <h1>{{info}}</h1>
    </fieldset>
</template>
<script>
    export default {
        data () {
            return {
            info:''      
            }
        },
        mounted () {
            fetch('http://chst.vip:1234/api/getmoneyctrlproduct?productid=20')
            .then(body=>body.json())
            .then(res=>{
                console.log(res.result[0]);
                this.info = res.result[0].productInfo2

            })
           
        }
    }


</script>